package com.nciae.po;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author YangChen
 * @since 2020-09-01
 */
public class SubMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 二级菜单名称
     */
    @TableField("subMenuName")
    private String subMenuName;

    /**
     * 对应一级菜单的id
     */
    @TableField("menu_id")
    private String menu_id;

    /**
     * 对应的Vue-Router
     */
    @TableField("vue-router")
    private String vue_router;

    /**
     * 可以访问到此页面的角色id
     */
    private String role_id;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getSubMenuName() {
        return subMenuName;
    }

    public void setSubMenuName(String subMenuName) {
        this.subMenuName = subMenuName;
    }
    public String getMenu_id() {
        return menu_id;
    }

    public void setMenu_id(String menu_id) {
        this.menu_id = menu_id;
    }
    public String getVue_router() {
        return vue_router;
    }

    public void setVue_router(String vue_router) {
        this.vue_router = vue_router;
    }
    public String getRole_id() {
        return role_id;
    }

    public void setRole_id(String role_id) {
        this.role_id = role_id;
    }

    @Override
    public String toString() {
        return "SubMenu{" +
            "id=" + id +
            ", subMenuName=" + subMenuName +
            ", menu_id=" + menu_id +
            ", vue-router=" + vue_router +
            ", role_id=" + role_id +
        "}";
    }
}
